package com.xt.service;

import com.xt.bean.CollectionArticle;
import org.springframework.data.domain.Page;

/**
 * Created by XT on 2018/5/4.
 */
public interface CollectionArticleService {
    void saveOrUpdateOne(CollectionArticle c);

    void deleteOne(String id);

    CollectionArticle getById(String id);

    Page< CollectionArticle> getCollectionArticleListByPage(int count, int pageNo, String sortDirection, String... sortField);
}
